projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
161ef3b
)
(sh-font-lock-syntactic-keywords): \ doesn't escape single quotes.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 27 Nov 2005 20:44:44 +0000
(20:44 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 27 Nov 2005 20:44:44 +0000
(20:44 +0000)
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index f6928a7255494167c294fb18663b4bf27a822f3c..5728499db437751dadcef84a1fc0049815c32854 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-1002,6
+1002,8
@@
Point is at the beginning of the next line."
;; The list of special chars is taken from the single-unix spec
;; of the shell command language (under `quoting') but with `$' removed.
`(("[^|&;<>()`\\\"' \t\n]\\(#+\\)" 1 ,sh-st-symbol)
+ ;; In a '...' the backslash is not escaping.
+ ("\\(\\\\\\)'" 1 ,sh-st-punc)
;; Make sure $@ and @? are correctly recognized as sexps.
("\\$\\([?@]\\)" 1 ,sh-st-symbol)
;; Find HEREDOC starters and add a corresponding rule for the ender.